package com.macro.mall.dao.sms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.sms.SmsCouponProductRelationDO;
import com.macro.mall.model.sms.SmsCouponProductRelationQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SmsCouponProductRelationMapper  extends BaseMapper<SmsCouponProductRelationDO> {
    long countByExample(SmsCouponProductRelationQuery example);

    int deleteByExample(SmsCouponProductRelationQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(SmsCouponProductRelationDO record);

    int insertSelective(SmsCouponProductRelationDO record);

    List<SmsCouponProductRelationDO> selectByExample(SmsCouponProductRelationQuery example);

    SmsCouponProductRelationDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SmsCouponProductRelationDO record, @Param("example") SmsCouponProductRelationQuery example);

    int updateByExample(@Param("record") SmsCouponProductRelationDO record, @Param("example") SmsCouponProductRelationQuery example);

    int updateByPrimaryKeySelective(SmsCouponProductRelationDO record);

    int updateByPrimaryKey(SmsCouponProductRelationDO record);
}
